set(LUA_LIB "lua54" CACHE STRING "The name of lua54 library")
file(GLOB LUA_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/lua/*.c")
add_library(${LUA_LIB} STATIC ${LUA_SOURCES})
target_include_directories(${LUA_LIB} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/lua")
